package cn.swing.his.pojo.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.sql.Timestamp;

@Data
@Document(indexName = "smart_medical2")
public class PatientListVO {
    private Integer id;
    private String name;
    private String gender;
    private String telephone;
    private String password;
    private String description;
    private String idCard;
    private String idCardImage;
    private String avatar;
    private String address;
    private String personality;
    private String state;
    private String allergen;
    private String medicalInsurance;
    private Integer isChild;
    private String bloodType;
    private String email;
    private Integer isEnable;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //private Timestamp birthday;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //private Timestamp gmtCreated;

}
